@echo off
title ray-boot clean
echo "----------------------------init start----------------------------"

setlocal enabledelayedexpansion
set "currentPath=%~dp0"
set "rootPath=!currentPath:~0,-13!"

set appRootDir=%rootPath%

set MVN_CLEAN= mvn clean -Dmaven.test.skip=true -s "F:\Maven\apache-maven-3.8.6-bin\apache-maven-3.8.6\conf\settings.xml"

echo "----------------------------init end ----------------------------"
echo "---------------------------clean start---------------------------"

cd /d %appRootDir%
call %MVN_CLEAN%

echo "--------------------------- clean end ---------------------------"
echo "--------------------------- clean end ---------------------------"
echo "--------------------------- clean end ---------------------------"

pause;